package com.jingdianjichi.circle.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/**
 * 圈子微服务的启动类孩子
 */
@SpringBootApplication
@ComponentScan("com.jingdianjichi")
@MapperScan("com.jingdianjichi.**.mapper")      //mapper没有加注解
@EnableFeignClients(basePackages = "com.jingdianjichi")
public class CircleApplication {
    public static void main(String[] args) {
        SpringApplication.run(CircleApplication.class);
    }
}
